﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Demo
{
    public partial class Controls_Button : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void btnOK_Click(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(1000);
            this.lblMessage.Text = "当前服务器时间：" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        }
    }
}